package lambda06;

public class Product {
	/*商品名称*/
	private String productName;
	/*商品价格*/
	private double productPrice;

	public Product(String productName, double productPrice) {
		this.productName = productName;
		this.productPrice = productPrice;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public double getProductPrice() {
		return productPrice;
	}

	public void setProductPrice(double productPrice) {
		this.productPrice = productPrice;
	}

	@Override
	public String toString() {
		return "Product{" +
				"productName='" + productName + '\'' +
				", productPrice=" + productPrice +
				'}';
	}
}
